/*
 * 
 * v1.2 by tonydon
 */
package cn.txdnet.txweb.annotation.validation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * String ，Collection, Array的长度或尺寸或大小
 * 默认都会校验值是否为null
 * @author txdnet
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Size {
    int min() default 0;
    int max() default 1000000000;
}
